package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.RegistrationInformation;

/**
 * 报名信息Service接口
 *
 * @author zhangjinlei
 * @date 2022-04-25
 */
public interface IRegistrationInformationService<list>
{
    /**
     * 查询报名信息
     *
     * @param id 报名信息主键
     * @return 报名信息
     */
    public RegistrationInformation selectRegistrationInformationById(Long id);

    /**
     * 查询报名信息列表
     *
     * @param registrationInformation 报名信息
     * @return 报名信息集合
     */
    public List<RegistrationInformation> selectRegistrationInformationList(RegistrationInformation registrationInformation);


    List<RegistrationInformation> selectRegistrationInformationDetailList(RegistrationInformation registrationInformation);

    /**
     * 新增报名信息
     *
     * @param registrationInformation 报名信息
     * @return 结果
     */
    public int insertRegistrationInformation(RegistrationInformation registrationInformation) throws Exception;

    /**
     * 修改报名信息
     *
     * @param registrationInformation 报名信息
     * @return 结果
     */
    public int updateRegistrationInformation(RegistrationInformation registrationInformation);

    /**
     * 批量删除报名信息
     *
     * @param ids 需要删除的报名信息主键集合
     * @return 结果
     */
    public int deleteRegistrationInformationByIds(Long[] ids);

    /**
     * 删除报名信息信息
     *
     * @param id 报名信息主键
     * @return 结果
     */
    public int deleteRegistrationInformationById(Long id);

    int auditRegistrationInformation(RegistrationInformation registrationInformation);

    List<RegistrationInformation> selectPalerList(RegistrationInformation registrationInformation);
}
